home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / dos6up14.zip / SMART.DOC < prev    next >
Text File  |  1994-06-01  |  8KB  |  180 lines

  1.  
  2.           SMARTDRIVE OVERHAUL
  3.           
  4.           SMARTDRIVE is a disk cache program that works with
  5.           computers that have extended memory.  A disk cache uses
  6.           a portion of memory to store information that DOS reads
  7.           from disk.  DOS can read the information from the disk
  8.           cache much faster than it can read information from a
  9.           drive.  However, with DOS 6.0 Microsoft had their
  10.           SMARTDRIVE program default to both read caching and write
  11.           caching.  The problem with write caching is that if you
  12.           turned your computer off immediately after quitting a
  13.           program, you could potentially lose data.
  14.           
  15.           With DOS 6.2 SMARTDRIVE write caching is turned off by
  16.           default.  If you upgrade to DOS 6.2 from 6.0 and you had
  17.           SMARTDRIVE write cache your drives, then SMARTDRIVE
  18.           leaves write caching turned on.
  19.           
  20.           You can force DOS immediately to write the cached data to
  21.           the hard drive, by typing at the system prompt:
  22.           
  23.                               smartdrv /c <ENTER>
  24.           
  25.           With DOS 6.2 SMARTDRIVE automatically flushes a write
  26.           cached disk before returning you to the system prompt. 
  27.           
  28.           This means it gets the data from memory and writes it to
  29.           the hard drive before you are returned to the system
  30.           prompt.  If you are using DOS at the command line, you
  31.           should always exit your program and return to the DOS
  32.           prompt before you turn your machine off.
  33.           
  34.           With DOS 6.2 Microsoft has added a new /X switch to turn
  35.           off write caching for all drives. 
  36.           
  37.           For most people, the SMARTDRIVE line is in their
  38.           AUTOEXE.BAT file which is a text file that resides on the
  39.           root directory of the start-up disk.  See pages 205 - 208
  40.           in LEARNING DOS FOR THE COMPLETE NOVICE, 2nd Edition for
  41.           examples and exact instructions on how to use EDIT and
  42.           modify your AUTEXEC.BAT file to selectively turn off
  43.           write caching.  Those people with exotic ("bus-mastering"
  44.           hard disk controllers) such as SCSI, or ESDI, may need to
  45.           have SMARTDRIVE installed in the CONFIG.SYS file.  The
  46.           CONFIG.SYS file also resides in the root directory of
  47.           your start-up disk and can be viewed and modified with
  48.           the DOS EDIT program.  See pages 209 through 211 in
  49.           Learning DOS for the Complete Novice, 2nd Edition, for
  50.           how to view and modify your CONFIG.SYS file. 
  51.           
  52.           With DOS 6.2, you could add the /X switch to turn off
  53.           write caching like so:
  54.           
  55.           SMARTDRV /X
  56.           
  57.           You can selectively disable write caching by following
  58.           the SMARTDRV command with the letters of your hard
  59.           drives.  Suppose you had hard drives C, D, E, and you
  60.           wanted to disable write caching on these drives.  Use the
  61.           DOS EDIT program to change the SMARTDRV line in the
  62.           AUTOEXEC.BAT file to read the following:
  63.           
  64.           SMARTDRV C D E 
  65.           
  66.           The above line tells DOS to allow read caching while
  67.           disabling write caching for drives C, D, and E. 
  68.           SmartDrive does not cache compressed drives (DoubleSpaced
  69.           drives); however, for increased performance, you can
  70.           cache the host drive.  If you are running DoubleSpace,
  71.           you can get information on all your drives by typing:
  72.           
  73.                               dblspace /i <ENTER>
  74.           
  75.           If you are running DoubleSpace, the above command gives
  76.           you information about all your drives.  It also tells you
  77.           which drive is your host drive.  Suppose you have only
  78.           one hard drive and are running DoubleSpace.  Suppose you
  79.           typed the above command and found out that your
  80.           DoubleSpace host drive is called H.  If that is the case,
  81.           you can configure SMARTDRIVE to read cache, but not write
  82.           cache the host drive by changing your SMARTDRIVE line in
  83.           your AUTOEXEC.BAT file to read:
  84.           
  85.           SMARTDRV H  
  86.           
  87.           
  88.           SmartDrive does not cache network drives, or RAM drives. 
  89.           
  90.           
  91.           With DOS 6.2, SMARTDRIVE read caches CD-ROM drives.  This
  92.           is a very nice feature because CD-ROM drives are often
  93.           too slow.  Caching should help performance.
  94.                     
  95.           If you want to see which drives SMARTDRV is caching, at
  96.           the system prompt type:
  97.           
  98.                               smartdrv <ENTER>
  99.           
  100.           
  101.           TIP
  102.           
  103.           If after typing SMARTDRV <ENTER> you notice that your CD-
  104.           ROM drive is not being cached, there may be a perfectly
  105.           logical reason.  The line which loads the MSCDEX program
  106.           needs to be loaded BEFORE the SMARTDRV line.   
  107.           
  108.           To see how to modify an AUTOEXEC.BAT or CONFIG.SYS file
  109.           see LEARNING DOS FOR THE COMPLETE NOVICE, 2nd Edition. 
  110.           For most people the line that loads the MSCDEX program
  111.           (for the CD-ROM) and SMARTDRV will be in the AUTOEXEC.BAT
  112.           file.  The AUTOEXEC.BAT file resides in the root
  113.           directory of the start-up disk (usually drive C). 
  114.           
  115.           
  116.           EXOTIC HARD DRIVES 
  117.           
  118.           If you are one of those people who have an exotic "bus
  119.           mastering" hard drive controller, you may need to have
  120.           SMARTDRIVE load in the CONFIG.SYS file.  For specific
  121.           instructions on how to modify a CONFIG.SYS file look in
  122.           Learning DOS for the Complete Novice, 2nd edition.  Try
  123.           using the following line in the CONFIG.SYS file:
  124.           
  125.           DEVICE=C:\DOS\SMARTDRV.EXE /DOUBLE_BUFFER
  126.           
  127.           The above SMARTDRIVE command needs to come before the
  128.           DEVICE command that loads EMM386.  Note that when in the
  129.           CONFIG.SYS file, SMARTDRV.EXE is used.  Remember, before
  130.           an AUTOEXEC.BAT or CONFIG.SYS start up file can take
  131.           effect, you must reboot your machine.  After you reboot
  132.           type:
  133.                               smartdrv <ENTER>
  134.           
  135.           With the above DEVICE=C:\DOS\SMARTDRV.EXE /DOUBLE_BUFFER
  136.           line in your CONFIG.SYS file the SMARTDRV <ENTER> command
  137.           loads SMARTDRIVE into upper memory.  After you do that
  138.           you can type the following:
  139.           
  140.                               smartdrv /s <ENTER>
  141.           
  142.           Here, the /S stands for Status.  A table appears on your
  143.           screen that looks something like:
  144.           
  145.                        DISK CACHING STATUS
  146.           
  147.           drive    read cache    write cache    buffering
  148.             A:        yes            no            no
  149.             B:        yes            no            no
  150.             C:        yes            yes           no   
  151.             S:        yes            no            no
  152.           
  153.           Look in the buffering column.  If all the entries say
  154.           "no" then your hard drive does not need this Double
  155.           Buffering and you would be better off taking the
  156.           SMARTDRIVE line out of your CONFIG.SYS file and just
  157.           using a SMARTDRV line in your AUTOEXEC.BAT file.  This
  158.           Double Buffering makes SMARTDRIVE operate slower.  So, if
  159.           your hard drive can support SMARTDRV in the AUTOEXEC.BAT
  160.           file, you are better off.
  161.           
  162.           If you want more information about the DOS 6.2 SMARTDRIVE
  163.           program type:
  164.           
  165.                               help smartdrv <ENTER>
  166.           
  167.           Of course, you will have to be using DOS 6.2.  If you
  168.           need any help on using the DOS HELP see pages 192 - 194
  169.           in LEARNING DOS FOR THE COMPLETE NOVICE, 2nd Edition.
  170.           
  171.           
  172.           TIP
  173.           
  174.           If you are using DOS at the command line, you should
  175.           always exit your program and return to the DOS prompt
  176.           before you turn your machine off.  Make sure the rest of
  177.           the family knows this, too.
  178.  
  179.  
  180.